@import '~antd/dist/reset.css';

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #f0f2f5;
}

.App {
  min-height: 100vh;
}

.site-layout-content {
  padding: 24px;
  background: #fff;
  min-height: 280px;
}

.logo {
  width: 120px;
  height: 31px;
  margin: 16px 24px 16px 0;
  float: left;
  color: white;
  font-size: 20px;
  font-weight: bold;
  line-height: 31px;
  padding-left: 0.5em;
  display: flex;
  align-items: center;
}

.login-form {
  max-width: 400px;
  margin: 0 auto;
}

.login-form-button {
  width: 100%;
}

.register-form {
  max-width: 400px;
  margin: 0 auto;
}

.login-container,
.register-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background: linear-gradient(135deg, #001529, #1890ff 100%);
  position: relative;
  overflow: hidden;
}

/* 添加星空效果 */
.login-container::after,
.register-container::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(white, rgba(255, 255, 255, 0.2) 2px, transparent 40px);
  background-size: 550px 550px;
  background-position: 0 0, 275px 275px;
  animation: stars 100s linear infinite;
}

@keyframes stars {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.login-card,
.register-card {
  width: 400px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.95);
  z-index: 1;
}

.site-layout-header {
  padding: 0;
  background: #001529;
}

.header-menu {
  line-height: 64px;
}

.content-container {
  padding: 24px 50px;
}

/* 简单确保通知可见的基本样式 */
.ant-notification {
  z-index: 1050;
}